package com.achao.usercenter.common;

import lombok.Data;
import lombok.experimental.SuperBuilder;

@Data
@SuperBuilder
public class BaseReq {


    public static final int DEFAULT_PAGE_CURRENT = 1;
    public static final int DEFAULT_PAGE_SIZE = 20;

    /**
     * 当前页
     */
    private Integer pageNO = DEFAULT_PAGE_CURRENT;

    /**
     * 页面大小
     */
    private Integer pageSize = DEFAULT_PAGE_SIZE;

    public BaseReq() {
    }

    public BaseReq(Integer pageNO, Integer pageSize) {
        this.pageNO = pageNO;
        this.pageSize = pageSize;
    }
}
